<?php

namespace App\Sdks\Feishu\Traits;

trait App
{
    /**
     * @var
     * 应用id
     */
    protected $appId;

    /**
     * @var
     * 应用秘钥
     */
    protected $appSecret;

    /**
     * @param $appId
     * @param $appSecret
     * @return bool
     * 设置应用信息
     */
    public function setApp($appId, $appSecret){
        $this->appId = $appId;
        $this->appSecret = $appSecret;
        return true;
    }

    /**
     * @return 应用id
     * 获取应用id
     */
    public function getAppId(){
        return $this->appId;
    }
}
